set terminal postscript
set output "filesize.ps"
set size 1,0.75
set title "File size (Connections = 8, Session = 10 calls)"
set xlabel "File size (KB)"
set ylabel "Response time (s)"
set logscale x
set yrange [0:0.1]
plot "filesize.result" using ($1/1000):($2/80) title "Serial" with linespoints,\
	 "filesize.result" using ($1/1000):($3/80) title "Parallel" with linespoints,\
	 "filesize.result" using ($1/1000):($4/80) title "Parallel+Log" with linespoints
	 
set terminal postscript
set output "filesize-speedup.ps"
set title "File size (Connections = 8, Session = 10 calls)"
set xlabel "File size (KB)"
set yrange [0.5:2.75]
set ylabel "Speedup"
plot "filesize.result" using ($1/1000):($2/$3) title "Parallel" with linespoints,\
	 "filesize.result" using ($1/1000):($2/$4) title "Parallel+Log" with linespoints
